/*
 *暑期JAVA学习 版权所有 2022-2025 
 */
package com.ychs.corejava.lesson4;

import org.omg.PortableInterceptor.SYSTEM_EXCEPTION;

/**
 *面试题
 * @author  menlu
 * @version 1.0
 */
public class Test1 {
	public int harf(int x ) {
		int y=x/2;
		System.out.println("harf----- x ="+x);
		System.out.println("harf----- y ="+y);
		return y;
	}
	public static void main(String[] args) {
		Test1 test1 = new Test1();
		int salary = 100;
		System.out.println("harf----- salary =" + salary);
		int m =test1.harf(salary);
		System.out.println("harf===== salary =" + salary);
		
	}

}
